//    Copyright (C) Kherty.  All rights reserved.
using OpenLS.Core;
using OpenLS.Spreadsheet.Internals;

namespace OpenLS.Spreadsheet
{
    abstract class GroupUndoUnit: IUndoUnit
    {
        protected GroupUndoUnit(Group parent, ChildGroup child)
        {
            Parent = parent;
            Child = child;
        }

        protected readonly Group Parent;
        protected readonly ChildGroup Child;
        #region IUndoUnit Members

        public abstract void Do();

        public bool Merge(IUndoUnit unit)
        {
            return false;
        }

        #endregion
    }
}
